Initialise the request ID in xs_talkv, to silence valgrind. We're not actually
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 17 Nov 2005 19:20:44 +0000 (20:20 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 17 Nov 2005 19:20:44 +0000 (20:20 +0100)
using this value at the moment -- it's only there for use by future clients.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_xs.c

index 36bb3d7f850c35bfda20f22b5d0e574185ee8bed..cb4f33d35aeabd8f06399c582ebeca39f097154b 100644 (file)
@@ -199,6 +199,7 @@ static void *xs_talkv(struct xenbus_transaction *t,
        int err;
 
        msg.tx_id = (u32)(unsigned long)t;
+       msg.req_id = 0;
        msg.type = type;
        msg.len = 0;
        for (i = 0; i < num_vecs; i++)